Skip to main content

ListAnimatePlot

Wolfram Kernel
Execution environment
JerryI`Notebook`ManipulateUtils`
Context
ListAnimatePlot[{{y1, y2, y3 ...}, {y1, y2, ...}}, opts___]

animates a list of curves, where {yi...} is single "frame" of sampled curve y. Other formats are also possible:

ListAnimatePlot[{{{y1, y2, y3 ...}, {k1, k2, k3, ...}}, {y1, y2, ...}}, opts___]

where y and k are different curves animated at the same plot

ListAnimatePlot[{{{x1, y1}, {x2, y2}, ...}, frame2, frame3, ...}, opts___]

where {x1,y1} is a points sampling a single curve

ListAnimatePlot[{{{{x1, y1}, {x2, y2}, ...}, {{k1, l1}, {k2, l2}, ...}}, frame2, frame3, ...}, opts___]

where {x1,y1} and {k1,l1} are points sampling two different curves

info

The output is safe for exporting to a static Static HTML file, since it keeps all data inside the notebook. No Wolfram Kernel is required for playing the animation.

Options

InterpolationOrder

Sets the interpolation order (all curves are resampled). The default is 1 (linear)

"SamplingPoints"

A number of points used in sampling. The default value is 200

It inherits some of Graphics options as well

AnimationRate

Specifies the number of updates per second

TransitionType

See TransitionType

TransitionDuration

See TransitionDuration

ImageSize

Accepts {width, height}

PlotStyle

Specifies colors for each curve

Epilog

Prolog

Appends graphics primitives to the plot. See Graphics

Examples

An animation of 10 frames

ListAnimatePlot[Table[{Table[{i, Sin[i j / 10]}, {i, 0.1, 10,0.1}], Table[{i, Sinc[i j / 10]}, {i, 0.1, 10,0.1}]}, {j,10}]]

Issues

danger

Help needed!

There is no adaptive sampling implemented.